<html>
<head>
    <title>FF Extension 'LINK' - How To</title>
</head>
<body>
    <h2>FF Extension 'LINK' - How To</h2>
    <h3>Introduction</h3>
    <p>
        'LINK' is a Firefox Extension (FF 3.5 or higher) to integrate LMF widgets with Firefox. The Extension makes it
        possible to mark content within any (html/xhtml) webpage and make it accessible for LMF widgets.
        The widgets can easily be integrated within an iframe that is hostet on the LMF host - so don't worry
        about Cross Side Scripting and such things.
    </p>
    <h3>How can i install the Extension?</h3>
    <p>
        <h4>For Extension Developers</h4>
        <p>You want to add some functionalities to the extension itself?
        <ul>
        <li>Go to the Firefox extension folder of current Profile<br>
            <b>MAC-OS 10.6:</b> ~/Library/Application Support/Firefox/Profiles/{current_profile}/extensions<br>
            <b>Windows:</b> feel free to insert the path here ;-)<br>
            <b>Others...</b>
        </li>
        <li>Create a file named 'link@salzburgresearch.at'</li>
        <li>Insert filepath '{your_kiwi_workspace}/src/main/browser_extensions/firefox/link'</li>
        <li>Restart Firefox</li>
        <li>Go to FF Menu - Toolbar - Customize</li>
        <li>Add LINK button to toolbar</li>
        </ul>
        <h4>Otherwise (does not work for my machine!)</h4>
        <ul>
        <li>Open Firefox</li>
        <li>Go to FF Menu - File - Open File</li>
        <li>Select link.xpi in '{your_kiwi_workspace}/src/main/browser_extensions/firefox/link'</li>
        <li>Follow install instructions</li>
        <li>After restart: Menu - View - Toolbar - Customize</li>
        <li>Add LINK button to toolbar</li>
        </ul>
    </p>
    <h3>How to use the Extension</h3>
    <ul>
        <li>Start LMF Server</li>
        <li>Push LINK button and select some parts of the current website</li>
        <li>Push the CLICK ME button in the upper left</li>
        <li>The iframe appears, where (e.g. jQuery-)widgets can easily be integrated. Feel free to do so :). You have access to selected parts and the parent url.</li>
        <li>The file link_ff_extension_main.html witch is integrated via iframe is located at {your_kiwi_workspace}/src/main/webapp/sources/link_ff_extension_files/html</li>
    </ul>
    <h3>Further steps</h3>
    <p>We plan to integrate the existing widget(s) like lmftageditor with LINK.</p>
</body>
</html>